1. Download / Install WordPress
Path: filemanager > public-html > wp-config.php > paste code
2. Create robots.txt
View robots.txt content
User-agent: * Disallow: /*?s= Disallow: /search/ Disallow: */feed/ Disallow: */feed Disallow: /wprm_print/ Disallow: /cgi-bin/ Disallow: /xmlrpc.php Disallow: */embed/ Disallow: /trackback/ Disallow: /comments/ Disallow: */tag/ Disallow: */tag Disallow: /wp-login.php Disallow: /wp-admin/ Disallow: */page/ # Allow article pages (Make sure all content is crawled) Allow: /category/ Allow: /post/ Allow: /wp-admin/admin-ajax.php Sitemap: https://www.domain.com/sitemap_index.xml
3. Add Code to .htaccess
View .htaccess content
## LITESPEED UNCACHE SITEMAP RewriteEngine On RewriteRule .* - [E=Cache-Control:no-cache] # Redirect non-HTTPS or non-www to https://www RewriteEngine On RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://www.domain.com/$1/ [L,R=301] <IfModule mod_headers.c> Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" Header always set X-Content-Type-Options "nosniff" Header always set X-Frame-Options "SAMEORIGIN" Header always set Referrer-Policy "no-referrer-when-downgrade" Header always set Permissions-Policy "geolocation=(), microphone=(), camera=()" Header always set X-XSS-Protection "1; mode=block" </IfModule>
4. Scan Website Security
5. Install Plugins
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Additional Settings
-
-
-
-
-
-
-
-
-
-